Tegra: restrict non-secure PMC accesses
authorVarun Wadekar <[email protected]>
Mon, 12 Mar 2018 22:11:55 +0000 (15:11 -0700)
committerVarun Wadekar <[email protected]>
Thu, 31 Jan 2019 16:50:52 +0000 (08:50 -0800)
commita01b0f1619e90aa39e0b5232767269d083186d74
tree408d90a258bab9f7d77f1bd1b49fb7a37606a562
parenta7f4e89b27cb5db9be7e62ded44c516e730e4a57
Tegra: restrict non-secure PMC accesses

Platforms that do not support bpmp firmware, do not need access
to the PMC block from outside of the CPU complex. The agents
running on the CPU can always access the PMC through the EL3
exception space.

This patch restricts non-secure world access to the PMC block on
such platforms.

Change-Id: I2c4318dc07ddf6407c1700595e0f4aac377ba258
Signed-off-by: Varun Wadekar <[email protected]>
plat/nvidia/tegra/include/t210/tegra_def.h
plat/nvidia/tegra/soc/t210/plat_psci_handlers.c
plat/nvidia/tegra/soc/t210/plat_setup.c